package com.practice.mapper.admin;

import com.practice.pojo.admin.entity.Login;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {


    @Select("select * from sys_user where login_name = #{username}")
    Login getByusername(String username);
}
